package cn.codeforfun;

import org.springframework.mail.MailException;
import org.springframework.mail.MailSender;
import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.MimeMessagePreparator;
import org.springframework.stereotype.Component;

import javax.mail.internet.MimeMessage;
import java.io.InputStream;

/**
 * Created by wangbin on 16-7-12.
 */
@Component
public class SpringMailSender implements MailSender, JavaMailSender {
    public MimeMessage createMimeMessage() {
        return null;
    }

    public MimeMessage createMimeMessage(InputStream inputStream) throws MailException {
        return null;
    }

    public void send(MimeMessage mimeMessage) throws MailException {

    }

    public void send(MimeMessage... mimeMessages) throws MailException {

    }

    public void send(MimeMessagePreparator mimeMessagePreparator) throws MailException {

    }

    public void send(MimeMessagePreparator... mimeMessagePreparators) throws MailException {

    }

    public void send(SimpleMailMessage simpleMailMessage) throws MailException {

    }

    public void send(SimpleMailMessage... simpleMailMessages) throws MailException {

    }
}
